package com.project.pojo.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description: 微信JSAPI支付下单入参类
 * @Author: zhuchi
 * @CreateDate: 2020/12/9 0:52
 * @Version: 1.0
 */
@Data
@ApiModel(value = "微信JSAPI支付下单入参类")
public class OrderPayJsapiModel {

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID")
    @NotNull(message = "请选择要支付的订单")
    private Long orderId;

    /**
     * Code
     */
    @ApiModelProperty(value = "Code")
    @NotNull(message = "请填写用户Code")
    private String code;

}
